﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Follow.Model;
using Follow.DataAccess;

namespace Follow.Business
{
    public class TransacaoBO
    {
        public IList<Transacao> findAll(DateTime inicio, DateTime fim)
        {
            TransacaoDAO dao = new TransacaoDAO();
            return dao.findAll(inicio, fim);
        }

        public Transacao findById(Int32 id)
        {
            TransacaoDAO dao = new TransacaoDAO();
            return dao.findById(id);
        }
    }
}